package com.xmy.cultivate.service;

import com.xmy.cultivate.entity.*;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.scheduling.annotation.Async;

/**
 * <p>
 * 学生表 服务类
 * </p>
 *
 * @author hpiggy
 * @since 2024-03-20
 */
public interface IStudentService extends IService<Student> {

    //合并试听并没有报名的学员
    void studentMerge(Student student) throws Exception;

    void leaveTeacherStudent(Grade grade);

    void leaveTeacherStudentByStatus(Long teacherId);

    void leaveTeacherStudentByPay(OrderDetail orderDetail);

    void  addOrUpdateData(Student student);
}
